﻿using PLCS.Domain.Shared.Tasks;
using System.ComponentModel;

namespace PLCS.Application.Contracts.HisTaskApp.Dtos;

public class HisTaskEditDto : EntityDto<Guid>
{
    /// <summary>
    /// 任务号
    /// </summary>
    public int TaskId { get; set; }

    public string? OrderNo { get; set; }

    /// <summary>
    /// 执行设备编号
    /// </summary>
    public string EquipmentNo { get; set; }

    /// <summary>
    /// 任务类型
    /// </summary>
    public TaskType TaskType { get; set; }

    /// <summary>
    /// 任务起始位
    /// </summary>
    public string? StartPos { get; set; }

    public string TaskSource { get; set; }

    /// <summary>
    /// 任务目标位
    /// </summary>
    public string? EndPos { get; set; }

    public int Level { get; set; }

    public string? BeforeExecutionMethod { get; set; }

    public string? AfterExecutionMethod { get; set; }

    public TrayType TrayType { get; set; }

    public string? WorkingStation { get; set; }
}